package vip.xumy.core.test;

import org.junit.Test;

import vip.xumy.core.exception.CoreException;
import vip.xumy.core.utils.Base64Util;
import vip.xumy.core.utils.RSAUtil;

/**	All rights reserved
 *	author:mengyxu
 *	date:2019年6月26日
 */
public class Base64Tester {
	
	@Test
	public void decode() throws CoreException {
		String s = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A";
		byte[] b = Base64Util.decode(s);
		System.out.println(RSAUtil.byteToStringKey(b));
	}

}
